<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.zmht.specedu.vo.Teachbook,com.zmht.specedu.vo.Soundstudy,java.util.*,com.zmht.specedu.rescue.web.form.TargetForm,com.zmht.specedu.vo.Soundstudy"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%
    /**
     * @author 谭湘元
     * @since 2009/04/23
     */
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>聋校备课与语言学习及矫治系统</title>
<fmt:setBundle basename="PathResource" scope="session" />
<link href="<%=request.getContextPath()%>/<fmt:message key='StylePath' />style2.css"
	rel="stylesheet" type="text/css" />
	<script type="text/javascript">
		var leftWindow;
		var currentTargetID = <c:out value="${__rescue_study_resouce_container_prefix_.currentTarget.targetId}" />;
		function targetChanged(radio){
			if(radio.checked && currentTargetID!=radio.value){
				leftWindow.frameSetSubmit("<%=request.getContextPath()%>/evaluation.do?method=loadLeftPanel&currentTargetID="+radio.value);
				currentTargetID = radio.value;
			}
		}
		var studentID="";
		function studentChanged(radio){
			if(radio.checked){
				studentID = radio.value;
			}
		}
		function getStudentID(){
			return studentID;
		}
		window.onload = function(){
			leftWindow = self.parent.frames["left"];
		}
	</script>
</head>

<body class="right_style" bgcolor="#ccea68">
<form id="form1" name="form1" method="post" action="">
  <table width="167" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="700" align="left" valign="top" background="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="120">&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_01.gif" width="166" height="39" border="0"  /></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="3" cellpadding="0" >
                      <tr>
                        <td><table width="141" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="5" align="center" valign="bottom"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_top.gif" width="141" height="5" /></td>
                          </tr>
                          <tr>
                            <td align="center" valign="middle" class="right_center"><div style="overflow:scroll; overflow-x:hidden; height:80px; width:130px;"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                <c:forEach items="${__rescue_study_resouce_container_prefix_.students}" var="student">
                                	 <tr>
	                                  <td width="23%" align="center" valign="middle">
										<input type="radio" name="student" onclick="studentChanged(this);" 
											value="<c:out value="${student.studentId }" />" 
											<c:if test="${student.studentId== __rescue_study_resouce_container_prefix_.currentstudentID}">checked</c:if> /></td>
	                                  <td width="77%" align="left" valign="middle"><c:out value="${student.sname }" /></td>
	                                </tr>
                                </c:forEach>
                            </table></div></td>
                          </tr>
                          <tr>
                            <td height="5" align="center" valign="top"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_bottom.gif" width="141" height="5" /></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_02.gif" width="166" height="42" border="0"  /></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="3" cellpadding="0" >
                      <tr>
                        <td><table width="141" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="5" align="center" valign="bottom"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_top.gif" width="141" height="5" /></td>
                          </tr>
                          <tr>
                            <td align="center" valign="middle" class="right_center"><div style="overflow:scroll; overflow-x:hidden; height:80px; width:130px;"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                <c:forEach items="${__rescue_study_resouce_container_prefix_.targets}" var="target">
                                	 <tr>
	                                  <td width="23%" align="center" valign="middle">
										<input type="radio" name="target" onclick="targetChanged(this);" 
											value="<c:out value="${target.targetId }" />" 
											<c:if test="${target.targetId== __rescue_study_resouce_container_prefix_.currentTarget.targetId}">checked</c:if> /></td>
	                                  <td width="77%" align="left" valign="middle"><c:out value="${target.targetName }" /></td>
	                                </tr>
                                </c:forEach>
                            </table>
                            </div></td>
                          </tr>
                          <tr>
                            <td height="5" align="center" valign="top"><img src="<%=request.getContextPath()%>/<fmt:message key='CommonImagePath' />jz_img/jzxx/right_bottom.gif" width="141" height="5" /></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
</form>
</body>
</html>
